<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="Content-Style-Type" content="text/css">
<title></title>
<meta name="Generator" content="Cocoa HTML Writer">
<meta name="CocoaVersion" content="824.41">
<style type="text/css">
p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Helvetica}
p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Monaco; min-height: 17.0px}
p.p3 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica}
p.p4 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px}
p.p5 {margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Monaco; min-height: 12.0px}
p.p6 {margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Monaco}
p.p7 {margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Monaco; color: #bf0000}
span.s1 {font: 18.0px Helvetica}
span.s2 {font: 13.0px Monaco}
span.s3 {color: #0000bf}
span.Apple-tab-span {white-space:pre}
</style>
</head>
<body>
<p class="p1"><span class="s1"><b>InsideOut</b></span><span class="s2"><span class="Apple-tab-span">	</span><span class="Apple-tab-span">	</span></span><b>Distortion by subtracting magnitude from 1</b></p>
<p class="p2"><br></p>
<p class="p3"><span class="s2"><span class="Apple-tab-span">	</span></span><b>InsideOut.ar(input, mul, add)</b></p>
<p class="p2"><br></p>
<p class="p3">If the signal is positive, outputs (1 - input).</p>
<p class="p3">If the signal is negative, outputs ( - 1 - input).</p>
<p class="p4"><br></p>
<p class="p3">It really distorts an audio signal. MIND YOUR EARS!</p>
<p class="p4"><br></p>
<p class="p4"><br></p>
<p class="p3"><b>Examples</b></p>
<p class="p5"><br></p>
<p class="p6">s = <span class="s3">Server</span>.internal.boot;</p>
<p class="p6">x = {<span class="s3">InsideOut</span>.ar(<span class="s3">SinOsc</span>.ar(220) + <span class="s3">PinkNoise</span>.ar(0.9), 0.1)}.scope;</p>
<p class="p6">x.free;</p>
<p class="p7">// Wear headphones and turn the vol down for this one</p>
<p class="p6">x = {<span class="s3">InsideOut</span>.ar(<span class="s3">AudioIn</span>.ar([1,2]).mean, 0.01).dup(2)}.scope;</p>
<p class="p6">x.free;</p>
</body>
</html>
